package com.weigecoder.common.result;

import lombok.Getter;

/**
 * 返回状态码枚举
 */
@Getter
public enum ResultCodeEnum {

    SUCCESS(200,"操作成功"),
    FAIL(201, "操作失败"),
    LOGIN_ERROR(203,"认证失败")
    ;

    private Integer code;
    private String message;

    private ResultCodeEnum(Integer code,String message) {
        this.code = code;
        this.message = message;
    }
}
